package com.icygen.eclipsetools.project;

import java.net.URI;

import java.util.List;
import java.util.Arrays;

import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.Assert;
import org.eclipse.core.runtime.CoreException;

import com.icygen.eclipsetools.resources.IModule;
import com.icygen.eclipsetools.resources.ModuleBase;

public class IcygenThemesSupport {

	public static final List<String> coreThemes = Arrays.asList(
				"default", 
				"admin"
			);
	
	public static IModule installModule(IProject project, String moduleName) {
        Assert.isNotNull(moduleName);
        Assert.isTrue(moduleName.trim().length() > 0);
 
        IModule module = createModule(project, moduleName);
        
        return module;
    }
	
	private static IModule createModule(IProject project, String moduleName) {
        
 
        return new ModuleBase(moduleName);
    }
}
